<?php echo $javascript->link('jquery.min.js', false); ?>
<?php echo $javascript->link('jquery.pager.js', false); ?>
<?php echo $javascript->link('jquery-ui-1.7.2.custom.min.js', false); ?>
<?php echo $javascript->link('button', false); ?>

<?php echo $this->element('sidepain'); ?>
<div class="release maincontent">
    <div id="flashMessageWrapper"><?php $session->flash(); ?></div>
    <div>
        <div>
            <img class="logo" src="<?php echo $html->url('/ftpfiles/icon/'.$currentEntry->b64filename); ?>" />
        </div>

        <ul class="information">
            <li class="fileName"><?php echo $html->link($currentEntry->Name,'/ftpfiles/download_from_ftp/'.$currentEntry->b64filename); ?></li>
            <li><br></li>
            <li class="fileInfo"><?php echo $currentEntry->Description; ?></li>
        </ul>

        <hr style="clear: both; border: 0; height: 0"/>

        <?php if (!empty($childEntries)): ?>
        <div class="files">
            <h2>版本浏览</h2>
            <table>
            <?php foreach($childEntries as $name => $entry): ?>
                <tr>
                    <td>
                        <a href="<?php echo $html->url("/ftpfiles/detail/{$entry->b64filename}"); ?>" title="<?php echo $entry->Name; ?>">
                        <p><?php echo $entry->Name; ?></p>
                        </a>
                    </td>
                </tr>
            <?php endforeach; ?>
            </table>
        </div>
        <?php endif; ?>
    </div>
</div>
